package com.xinhe.cn.cpbox.mapper;

import com.xinhe.cn.cpbox.entity.po.UserInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

/**
 * <p>
 * 用户信息 Mapper 接口
 * </p>
 *
 * @author LHB
 * @since 2021-10-09
 */
@Repository
public interface UserInfoMapper extends BaseMapper<UserInfo> {
    @Select("select open_id from user_info where uid=#{uid}")
    String selectOpendIdByUid(@Param("uid") String uid);
}
